﻿
using GalaSoft.MvvmLight.Messaging;
using KinectCurve.Entities;
namespace KinectCurve.ViewModel
{
    public partial class GameViewModel
    {
        public void MessageDefinitions()
        {
            Messenger.Default.Register<EnumGameEnd>(this, "endGame", input =>
            {
                EndGame(input);
            });

            Messenger.Default.Register<double>(this, "widthContent", input =>
            {
                contentWidth = input;
            });

            Messenger.Default.Register<double>(this, "heightContent", input =>
            {
                contentHeight = input;
            });
        }
    }
}
